package com.baitiaojun.auth.service.impl;

import com.baitiaojun.auth.mapper.AuthRoleMapper;
import com.baitiaojun.auth.service.AuthRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @类名 AuthRoleServiceImpl
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/8 12:47
 * @版本 1.0
 */
@Service
public class AuthRoleServiceImpl implements AuthRoleService {

    @Resource
    private AuthRoleMapper authRoleMapper;

    @Override
    public Long getAuthRoleIdByCode(String roleLv0) {
        return authRoleMapper.selectAuthRoleIdByCode(roleLv0);
    }
}
